package com.yuanhua.xcxmng.wechat.service;

import com.yuanhua.xcxmng.wechat.entity.UserData;
import com.yuanhua.xcxmng.wechat.entity.UserDataQuery;

import java.util.List;

public interface UserDataService {

    int deleteByPrimaryKey(Long id) throws Exception;

    int insert(UserData record) throws Exception;

    int insertSelective(UserData record) throws Exception;

    UserData selectByPrimaryKey(Long id) throws Exception;

    List<UserData> selectLastThree(UserDataQuery userDataQuery) throws Exception;

    List<UserData> queryPage(UserDataQuery userDataQuery, int next) throws Exception;

    List<UserData> queryReport(UserDataQuery userDataQuery) throws Exception;

    int updateByPrimaryKeySelective(UserData record) throws Exception;

    int updateByPrimaryKey(UserData record) throws Exception;
}
